import {http} from '@/utils/http'

// 添加null
export function addBanner(data:any) {
    return http.post<any>('/admin/banner/addBanner', data)
}

// 修改null
export function updateBanner(data:any) {
    return http.post<any>('/admin/banner/updateBanner', data)
}

// 删除null
export function deleteBanner(id:string) {
    return http.post<any>('/admin/banner/deleteBanner/'+id)
}

// 获取null详情
export function getBanner(id:any) {
    return http.post<any>('/admin/banner/getBanner/'+id)
}

// 获取null分页列表
export function getBannerPage(data:any) {
    return http.post<any>('/admin/banner/getBannerPage', data)
}





















